package com.example.fucc.myapplication.utils;


import com.example.fucc.myapplication.model.entity.ResponseModel;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Streaming;
import retrofit2.http.Url;


public interface ApiService {

    @Streaming
    @GET
    Observable<ResponseBody> downLoadClassFile(@Url String url);

    @GET("/api/test/GetChapterUrlByLevelAndListOrder")
    Flowable<ResponseModel<Object>> updateStudentLevel(@Query("Level") int Level,@Query("ListOrder") int ListOrder);
}

